<template>
  <div class="app-container">
    <div class="filter-container">
      <el-page-header content="积分规则" title="返回" @back="goBack" />
    </div>

    <el-form ref="form" :model="form" label-width="80px" style="margin-top: 30px">
      <el-form-item label="学生签到 " style="width: 50%">
        <el-input v-model="form.name" />
      </el-form-item>
      <el-form-item label="学生分享" style="width: 50%">
        <el-input v-model="form.name" />
      </el-form-item>
      <el-form-item label="学生推荐" style="width: 50%">
        <el-input v-model="form.name" />
      </el-form-item>
      <el-form-item label="学生作业" style="width: 50%">
        <el-input v-model="form.name" />
      </el-form-item>
      <el-form-item>
        <el-button type="primary" @click="onSubmit">确认</el-button>
        <el-button>取消</el-button>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      form: {
        name: '',
        region: '',
        date1: '',
        date2: '',
        delivery: false,
        type: [],
        resource: '',
        desc: ''
      }
    }
  },
  methods: {
    onSubmit() {
      console.log('submit!')
    },
    goBack() {
      console.log('返回')
    }
  }
}
</script>
